Repository navigation
fix(server): a moved thread arrives with its pull request switches off, and fenced - #977
Merged
Merged
Conversation
…f, and fenced What a move carries comes from another computer, so it gets no more trust than work that computer's agent starts here over the link. Pull request switches arrive off, every one. The linked pull requests still come along. What was on rides in movedFrom.pullRequestSwitches; the "Moved here" line and a new notice above the message box say what was on, and Turn on sends the normal thread.pull-request-automation.set from the user's client. Any switch set here clears the offer. The import decision no longer turns switches on whatever its command says. A moved thread works behind the link fence (movedFrom.fenced) until a message the user sent here starts a turn in it (liftsMoveFence on that turn-start-requested). The arrival message, the queued messages the move carried, and anything Threadlines or an agent sends (auto-fix included, via keepsMoveFence) leave it up. One rule (orchestration/linkFence.ts) now fences both kinds of thread: tool issuance in the reactor, the thread and schedule tool guards (thread_read and thread_list included), and continuing on a schedule. A session started fenced restarts with resume once the fence lifts, so the agent gets its tools. fleet.md Part 3e and the app guide say so.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 17, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 17, 2026
…efore settling settleReady could land before the reactor marked the first turn running, so the user's message looked mid-turn and the restart was put off by design; the tests now wait for the running mark first, as another test in the file already does. 25/25 runs green.
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 17, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two problems in #976 (a thread moves with what it had going), found by Vercel Security Review after it merged:
How it's fixed
movedFrom.pullRequestSwitches). A notice and the "Moved here" line say so, with Turn on. That sends the normal command from the user's own app.movedFrom.fenced. One shared rule (orchestration/linkFence.ts) applies the same fence as link-started threads: tool issuance, the thread and schedule tool guards (thread_readandthread_listincluded), and scheduled continuation.liftsMoveFence. The arrival message, carried queued messages, messages from another thread, an assistant or a scheduled task, restart or usage resumes, and auto-fix turns (keepsMoveFence) never lift it.Checks
thread_readandthread_listrefuse while fenced;Not done yet: the outside review was refused because Threadlines' limit on agent requests was reached. It runs next and any findings get fixed in a follow-up. No live two-computer run of this change.